import 'package:module_set_up/page/language/language_controller.dart';
import 'package:module_set_up/page/theme/theme_controller.dart';
import 'package:flutter/material.dart';
import 'package:library_base/base/base_app_state_page.dart';
import 'package:library_base/ext/theme_data_ext.dart';
import 'package:library_base/global/multi_language.dart';
import 'package:get/get.dart';
import 'package:library_base/utils/theme_util.dart';

class LanguagePage extends StatefulWidget {
  const LanguagePage({Key? key}) : super(key: key);

  @override
  _LanguagePageState createState() => _LanguagePageState();

}

class _LanguagePageState extends BaseState<LanguagePage, LanguageController> {

  @override
  LanguageController registerController() => Get.find<LanguageController>();

  @override
  void onCreate() {
    setTitle(MultiLanguage.languageChange.tr);
    setBackgroundColor(ThemeUtil.getTheme().secondaryBgColor());
  }

  @override
  Widget? getMainWidget(BuildContext context) {
    return Column();
  }
}
